/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.nii.qlks.ControlLayer;

import edu.nii.qlks.BusinessLogicLayer.DichVuBLL;
import edu.nii.qlks.DataTransferObject.DichVuInfo;
import java.util.ArrayList;

/**
 *
 * @author MARS_NHO
 */
public class DichVuControl {
    DichVuBLL DichVu = new DichVuBLL();
    
    public ArrayList LayDS() throws Exception{
        return DichVu.LayDS();
    }
        
    public void Insert(DichVuInfo dichVuInfo) throws Exception{
        DichVu.Insert(dichVuInfo);
    }
    
    public void Update(DichVuInfo dichVuInfo) throws Exception{
        DichVu.Update(dichVuInfo);
    }
    
    public void Delete(DichVuInfo dichVuInfo) throws Exception{
        DichVu.Delete(dichVuInfo);
    }
    
    public String TaoMaTuDong(String maGoc, int batDau){
         return DichVu.TaoMaTuDong(maGoc, batDau);
     }
}
